﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using LF3.Moduls;
using LF3.Repositories;

namespace LF3.Controllers
{
    public class Lf_Material_ConsumeController
    {
        Lf_Material_ConsumeRepository rep = new Lf_Material_ConsumeRepository();
        //合金散料
        public IList<Lf_Material_Consume> GetMatConsume(string heatid)
        {
            return rep.GetMatConsume(heatid);
        }
        //喂丝
        public IList<Lf_Material_Consume> GetWSConsume(string heatid)
        {
            return rep.GetWSConsume(heatid);
        }

        public IList<Lf_Material_Info> GetMatInfo()
        {
            return rep.GetMatInfo();
        }

        public IList<Lf_Material_Info> GetWireInfo()
        {
            return rep.GetWireInfo();
        }

        public IList<Lf_Set_Wire> GetWires()
        {
            return rep.GetWires();
        }

        public void SetPipeWire(Lf_Set_Wire wire)
        {
            rep.SetPipeWire(wire);
        }
    }
}
